package com.zqxq.lottery.feign;

import com.zqxq.lottery.entity.bo.SmsBO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.cloud.netflix.feign.FeignClientsConfiguration;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "api-server", configuration = FeignClientsConfiguration.class)
public interface ApiLotteryServerFeignClient {

    @RequestMapping(value="/sms/sendMsg", method = RequestMethod.POST)
    void sendMsg(@RequestBody SmsBO bo);

}
